//
//  CommunityVC.swift
//  ListenFM
//
//  Created by szq on 2017/8/7.
//  Copyright © 2017年 胡定锋. All rights reserved.
//

import UIKit
import PageMenu

class CommunityVC: BaseScene {

    var pageControl : CAPSPageMenu?
    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        self.title = "社区"
    }

    func setupPageControl() {
        
       self.pageControl = CAPSPageMenu(viewControllers: [EssenceVC.init(),TheNewestVC.init()], in: self, with: CAPSPageMenuConfiguration(), usingStoryboards: true)

        self.view.addSubview(pageControl!.view)
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        
    
    }
    

    

}
